Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Oct 23, 2024

Related issue: #29735

Description

Use RenderContext width and height.

@sunag sunag added this to the r170 milestone Oct 23, 2024
@sunag sunag marked this pull request as ready for review October 23, 2024 22:42
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 691.57
171.41
691.57
171.41
+0 B
+0 B
WebGPU 819.03
220.97
818.87
220.85
-154 B
-123 B
WebGPU Nodes 818.54
220.8
818.38
220.72
-154 B
-83 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 463.72
112.16
463.72
112.16
+0 B
+0 B
WebGPU 539.9
145.85
539.75
145.78
-154 B
-66 B
WebGPU Nodes 495.9
135.65
495.74
135.6
-154 B
-47 B

@sunag sunag merged commit 534a3fc into mrdoob:dev Oct 23, 2024
12 checks passed
@sunag sunag deleted the dev-cleanup-5 branch October 23, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant